package com.tgy.result;

/**
 * layui表格的回传格式
 */
public class LayuiTableResult {

    //0\1
    private Integer code = 0;

    private String msg = "";

    private Long count = 0L;

    private Object data;

    public LayuiTableResult() {
    }

    public LayuiTableResult(Integer code, String msg, Long count, Object data) {
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
    }

    public LayuiTableResult(Long count, Object data) {
        super();
        this.count = count;
        this.data = data;
    }
    public LayuiTableResult(Object data) {
        super();
        this.data = data;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
